package cn.cms.model;

import java.util.Date;

/**
 * Created by leon on 2017/2/27.
 */
public class SysLog {

    public Long id;
    private String loginName;

    /** 要执行操作类型.比如:add **/
    private String type;
    /** 要执行操作的项目名称:比如:修改用户 */
    private String name;
    /** 操作用户名 */
    private String realName;
    /** 操作参数json string */
    private String params;
    /** ip地址 */
    private String srcIp;
    /** 操作时间 */
    private Date dateAdd;

    public String getSrcIp() {
        return srcIp;
    }

    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }

    public Date getDateAdd() {
        return dateAdd;
    }

    public void setDateAdd(Date dateAdd) {
        this.dateAdd = dateAdd;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
}
